Configuring SMTP Services
Once
you have installed the SMTP Server feature on a computer running
Windows Server 2008, you can use IIS 6.0 Manager to configure SMTP
settings. To do this, open IIS 6.0 Manager, and expand the server
object. A default site called SMTP Virtual Server #1 is included
automatically when you add the SMTP Server feature.
Creating a New SMTP Virtual Server
You can use the New SMTP
Virtual Server Wizard to create a new SMTP virtual server in Windows
Server 2008. Each virtual server has its own set of configuration
settings and can be managed independently. To begin the process of
creating a new SMTP virtual server by using IIS 6.0 Manager, right-click
the server object, point to New, and then click SMTP Virtual Server.
The first page of the wizard asks you to provide a name for the virtual
server. You should use a descriptive name that indicates the purpose of
the virtual server because this setting will identify different servers
in the IIS 6.0 Manager user interface.
On the Select IP
Address page, select on which network connections the SMTP server will
be available. If the server has multiple physical network adapters or
multiple IP addresses, you can choose a specific one from the drop-down
list. This is useful when you want to limit access to the SMTP server
for security reasons. For example, if one or more IP addresses are
accessible from the Internet, you might not want the server to respond
on that address. The default IP address setting is All Unassigned, which
specifies that the SMTP virtual server will respond on any IP address
that is configured for the server.
Another reason to change
the IP address is that no two SMTP virtual servers can run concurrently
if they have the same IP address and port assignment. The default port
for SMTP connections is port 25. If you attempt to create a new SMTP
virtual server that has the same combination of IP address and port
number, you will see the error message shown in Figure 2. In this case, you can continue to create the server, but you will have to modify its settings later before you can start it.
On the Select Home
Directory page, specify the file system location that will serve as the
root for the SMTP virtual server. (See Figure 3.) Message files and other data will be stored in this location.
The Default Domain page
is where you specify the fully qualified domain name for which this SMTP
virtual server will be responsible. Generally, you will use a DNS
domain name such as hr.contoso.com. When you finish the New SMTP Virtual
Server Wizard, the new server will appear in IIS 6.0 Manager. You can
then access the properties of the server to make additional
configuration changes.